package com.example.supplychainbackend.dao.project;

import com.example.supplychainbackend.entity.project.ProjectPlanEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectPlanDao extends JpaRepository<ProjectPlanEntity,Long> {
    ProjectPlanEntity findByProjectPlanNo(String projectPlanNo);
    List<ProjectPlanEntity> findAllByStatus(Integer status);
    List<ProjectPlanEntity> findAllBySalesOrderNo(String salesOrderNo);

    List<ProjectPlanEntity> findAllByEnterpriseId(String enterpriseId);
}
